The Dreamweaver JavaScript API > External application functions > dreamweaver.getPrimaryExtensionEditor()

 

dreamweaver.getPrimaryExtensionEditor()

Availability

Dreamweaver 3.0

Description

Gets the primary editor for the specified file.

Arguments

fileURL

Returns

An array containing a pair of strings. The first string in the pair is the name of the editor, and the second string is its location on the user's machine, expressed as a file:// URL. If no primary editor is defined, the function returns an array of one empty string.

Enabler

None.